home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / oleo-1_4.lha / oleo-1.4 / io-generic.h < prev    next >
C/C++ Source or Header  |  1993-03-25  |  2KB  |  70 lines

  1. #ifndef IO_GENERICH
  2. #define IO_GENERICH
  3. /*    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with Oleo; see the file COPYING.  If not, write to
  17. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18. /*  t. lord    Fri Aug  7 23:20:52 1992    */
  19.  
  20. #include "global.h"
  21. #include "obstack.h"
  22.  
  23.  
  24. /*
  25.  * User settable options.
  26.  */
  27. extern int bkgrnd_recalc;
  28. extern int auto_recalc;
  29. extern int a0;
  30. /* This is how frequently the alarm should go off. */
  31. extern unsigned int alarm_seconds;
  32. extern unsigned int alarm_active;    /* Whether or not the alarm matters. */
  33.  
  34. /*
  35.  * 1 -- clear the input area before reading the next char.
  36.  * 2 -- clear the input area after reading the next char.
  37.  * 0 -- don't clear the input area.
  38.  */
  39. extern int topclear;
  40.  
  41. extern char * current_filename;
  42.  
  43. /* Has io_open_display been called? */
  44. extern int display_opened;
  45.  
  46. #ifdef __STDC__
  47. extern void (*read_file) (FILE *, int);
  48. extern void (*write_file) (FILE *, struct rng *);
  49. extern int (*set_file_opts) (int, char *);
  50. extern void (*show_file_opts) (void);
  51.  
  52. extern int get_chr (void);        /* read from kbd or macro */
  53. extern int set_window_option (int set_opt, char *text);
  54. extern void show_window_options (void);
  55. #else
  56. extern void (*read_file) ();
  57. extern void (*write_file) ();
  58. extern int (*set_file_opts) ();
  59. extern void (*show_file_opts) ();
  60.  
  61. extern int get_chr ();        /* read from kbd or macro */
  62. extern int set_window_option ();
  63. extern void show_window_options ();
  64. #endif
  65.  
  66.  
  67. extern const int rowmagic[], colmagic[];
  68.  
  69. #endif
  70.